/**
 * Version   		: 1.0
 * File Name        : TacacsDBException.java
 * Created By		: TACACS
 * Creation Date	: 09-08-2012
 * Description		: File containing the Public class
 */

package com.idm.tacacs.utils;

/**
 *
 * Class Name 	: TacacsDBException.
 * Description	: Nested Exception class for TACACS Application
 *
 * Extends 		: Exception 
 *
 */
public class TacacsDBException extends Exception {

	/**
	 * Constructor with customized exception message and original cause
	 * (exception)
	 */
	public TacacsDBException(String message, Throwable cause) {
		super(message+cause.toString());
	}

	/**
	 * Constructor with customized exception message
	 */

	public TacacsDBException(String message) {
		super(message);
	}

	/**
	 * Constructor  original cause (exception)
	 */

	public TacacsDBException(Throwable cause) {
		super(cause.toString());
	}
}
